package com.idanchuang.component.shadow.route.common.conf;

import org.springframework.beans.factory.BeanClassLoaderAware;
import org.springframework.beans.factory.InitializingBean;

public class ShadowRouteDataSourceProperties implements BeanClassLoaderAware, InitializingBean {

    private ClassLoader classLoader;

    private Actual actual;

    private Shadow shadow;

    @Override
    public void setBeanClassLoader(ClassLoader classLoader) {
        this.classLoader = classLoader;
    }

    public ClassLoader getClassLoader() {
        return classLoader;
    }

    public Actual getActual() {
        return actual;
    }

    public Shadow getShadow() {
        return shadow;
    }

    public void setActual(Actual actual) {
        this.actual = actual;
    }

    public void setShadow(Shadow shadow) {
        this.shadow = shadow;
    }

    @Override
    public void afterPropertiesSet() throws Exception {

    }

}
